﻿using System.Runtime.Serialization;

namespace FuiouPay.Models.Request {
    public class FuiouRequestInfo {
        /// <summary>
        /// 必填，版本号，默认：1.0
        /// </summary>
        [DataMember(Name = "version")]
        public string Version { get; set; } = "1.0";

        /// <summary>
        /// 必填，机构号,接入机构在富友的唯一代码
        /// </summary>
        [DataMember(Name = "ins_cd")]
        public string InsCd { get; set; }

        /// <summary>
        /// 必填，商户号,富友分配给二级商户的商户号
        /// </summary>
        [DataMember(Name = "mchnt_cd")]
        public string MchntCd { get; set; }

        /// <summary>
        /// 必填，终端号，默认：88888888
        /// </summary>
        [DataMember(Name = "term_id")]
        public string TermId { get; set; } = "88888888";

        /// <summary>
        /// 必填，随机字符串
        /// </summary>
        [DataMember(Name = "random_str")]
        public string RandomStr { get; set; }
    }
}
